package com.tk.exam.mapper;

import com.tk.exam.domain.TkClass;
import com.tk.exam.domain.TkClassExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface TkClassMapper {
    int countByExample(TkClassExample example);

    int deleteByExample(TkClassExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TkClass record);

    int insertSelective(TkClass record);

    List<TkClass> selectByExampleWithRowbounds(TkClassExample example, RowBounds rowBounds);

    List<TkClass> selectByExample(TkClassExample example);

    TkClass selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TkClass record, @Param("example") TkClassExample example);

    int updateByExample(@Param("record") TkClass record, @Param("example") TkClassExample example);

    int updateByPrimaryKeySelective(TkClass record);

    int updateByPrimaryKey(TkClass record);
}